package com.comleader.uap.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.comleader.uap.pojo.dto.FiveEffectStatDTO;
import com.comleader.uap.pojo.entity.ForwardingCancel;
import com.comleader.uap.pojo.query.FiveEffectQuery;
import com.comleader.uap.pojo.query.ForwardingCancelQuery;
import com.comleader.uap.pojo.vo.ForwardingCancelDetailVO;
import com.comleader.uap.pojo.vo.ForwardingCancelListVO;

/**
 * @author lianxinjing
 * @description 针对表【api_forwarding_cancel(呼转业务取消表)】的数据库操作Mapper
 * @createDate 2024-11-23 16:03:24
 * @Entity com.comleader.uap.pojo.entity.ForwardingCancel
 */
public interface ForwardingCancelMapper extends BaseMapper<ForwardingCancel> {

    List<ForwardingCancelListVO> selectList(ForwardingCancelQuery query);

    ForwardingCancelDetailVO selectDetail(@Param("commandId") String commandId, @Param("calledNumber") String calledNumber);

    Integer countNum(FiveEffectQuery query);

    List<FiveEffectStatDTO.ForwardingCancel> countByDimension(FiveEffectQuery query);
}
